<?php
include 'config.php';

if(isset($_POST['createpoint'])){
	if(!empty($_REQUEST['createpoint_name']) && !empty($_REQUEST['createpoint_coor'])){
		mysql_query("INSERT INTO `places` (`name`,`coordinates`) VALUES ('".$_REQUEST['createpoint_name']."','".$_REQUEST['createpoint_coor']."')");
	}
	else return false;
}
?>